导航菜单
首页 >  openQA Documentation  > [🐛 Bug]: OpenQA.Selenium.NoSuchDriverException · Issue #12675 · SeleniumHQ/selenium · GitHub

[🐛 Bug]: OpenQA.Selenium.NoSuchDriverException · Issue #12675 · SeleniumHQ/selenium · GitHub

@bonigarciaI used the selenium-manager.exe provided by you and still get below error after running for a day.This starts happening after a day on my remote PC where my console application is executed as scheduled task everyday.

OpenQA.Selenium.NoSuchDriverException: Unable to obtain chrome using Selenium Manager; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location ---> OpenQA.Selenium.WebDriverException: Error starting process: C:\DM_FOTA_Download_Service\Latest\selenium-manager/windows/selenium-manager.exe --browser "chrome" --output json ---> OpenQA.Selenium.WebDriverException: Selenium Manager process exited abnormally with 65 code: C:\DM_FOTA_Download_Service\Latest\selenium-manager/windows/selenium-manager.exe --browser "chrome" --output jsonError Output >>

Standard Output >>{"logs": [{"level": "ERROR","timestamp": 1694550606,"message": "expected value at line 1 column 1"}],"result": {"code": 65,"message": "expected value at line 1 column 1","driver_path": "","browser_path": ""}}

at OpenQA.Selenium.SeleniumManager.RunCommand(String fileName, String arguments)--- End of inner exception stack trace ---at OpenQA.Selenium.SeleniumManager.RunCommand(String fileName, String arguments)at OpenQA.Selenium.SeleniumManager.DriverPath(DriverOptions options)at OpenQA.Selenium.DriverFinder.FullPath(DriverOptions options)--- End of inner exception stack trace ---at OpenQA.Selenium.DriverFinder.FullPath(DriverOptions options)at OpenQA.Selenium.Chromium.ChromiumDriver.GenerateDriverServiceCommandExecutor(DriverService service, DriverOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeOptions options)at DonwloadGroupDeviceListData.Form1.createSeleniumChromeBrowser()at DonwloadGroupDeviceListData.Form1.d__25.MoveNext()at OpenQA.Selenium.DriverFinder.FullPath(DriverOptions options)at OpenQA.Selenium.Chromium.ChromiumDriver.GenerateDriverServiceCommandExecutor(DriverService service, DriverOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chromium.ChromiumDriver..ctor(ChromiumDriverService service, ChromiumOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeOptions options)at DonwloadGroupDeviceListData.Form1.createSeleniumChromeBrowser()at DonwloadGroupDeviceListData.Form1.d__25.MoveNext()

相关推荐: